import request from "@/utils/request.ts";
interface ISearchMessageFile {
  userId: number;
  filed: string;
}

// 搜索文件
export const SearchMessageFile = (params: ISearchMessageFile) => {
  return request.post(`/searchMessageFile`, params);
};

// 获取文件列表
export const GetFileList = (userId: number) => {
  return request.get(`/getAllFile/${userId}`);
};
